package org.dromara.neutrinoproxy.client.mini;

import org.dromara.neutrinoproxy.client.core.ProxyClientService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;
import org.noear.solon.core.bean.InitializingBean;

@Component
public class SolonBridgeService implements InitializingBean {

    @Inject private ProxyClientService proxyClientService;

    @Override
    public void afterInjection() throws Throwable {
        DesktopService.getInstance().updateService(proxyClientService);
    }
}
